From f7c23cc9a9f742844ec9a98544b55f6d2d9c0dfa Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 20 Jan 2009 15:10:28 +0000 Subject: [PATCH] hvmloader: ACPI compiler is not to be buil;t and installed on target system. Since it is a build prerequisite (in some cases) simply fail the build if it is not found when it turns out to be required. Just as we would for any other tool-chain prereq. Signed-off-by: Keir Fraser --- tools/firmware/hvmloader/acpi/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/tools/firmware/hvmloader/acpi/Makefile b/tools/firmware/hvmloader/acpi/Makefile index e4dc4cb53f..c282d018d8 100644 --- a/tools/firmware/hvmloader/acpi/Makefile +++ b/tools/firmware/hvmloader/acpi/Makefile @@ -22,10 +22,6 @@ C_SRC = build.c dsdt.c static_tables.c H_SRC = $(wildcard *.h) OBJS = $(patsubst %.c,%.o,$(C_SRC)) -IASL_VER = acpica-unix-20080729 -#IASL_URL = http://acpica.org/download/$(IASL_VER).tar.gz -IASL_URL = $(XEN_EXTFILES_URL)/$(IASL_VER).tar.gz - CFLAGS += -I. -I.. $(CFLAGS_include) vpath iasl $(PATH) @@ -46,15 +42,11 @@ dsdt.c: dsdt.asl iasl: @echo - @echo "ACPI ASL compiler(iasl) is needed" - @echo "Download Intel ACPI CA" - @echo "If wget failed, please download and compile manually from" + @echo "ACPI ASL compiler (iasl) is needed" + @echo "Download and install Intel ACPI CA from" @echo "http://acpica.org/downloads/" @echo - wget $(IASL_URL) - tar xzf $(IASL_VER).tar.gz - make -C $(IASL_VER)/compiler - $(INSTALL_PROG) $(IASL_VER)/compiler/iasl $(DESTDIR)$(BINDIR)/iasl + @exit 1 acpi.a: $(OBJS) $(AR) rc $@ $(OBJS) -- 2.30.2